Skip to content

Mark Matrix, ModuleTreeWidget, ChartSelect as graduated to marimo (0.4.1)#198

Merged
koaning merged 3 commits intomainfrom
koaning/marimo-graduated
May 1, 2026
Merged

Mark Matrix, ModuleTreeWidget, ChartSelect as graduated to marimo (0.4.1)#198
koaning merged 3 commits intomainfrom
koaning/marimo-graduated

Conversation

@koaning
Copy link
Copy Markdown
Owner

@koaning koaning commented May 1, 2026

Summary

  • Matrix, ModuleTreeWidget, and ChartSelect now append a small amber graduation hint to the cell when instantiated inside a marimo notebook, linking to the marimo built-in equivalent (marimo.ui.matrix, marimo's auto-registered PyTorch formatter, and marimo.ui.matplotlib respectively). Outside marimo (plain Jupyter and other anywidget hosts) behavior is unchanged.
  • Each widget's class docstring also gained a Note: block with the same pointer, so help(...) and the rendered mkdocs page surface the redirect.
  • make docs now uses uv run mkdocs build, fixing the silent "command not found" failure from a fresh make install venv.
  • Bumped to 0.4.1 (CHANGELOG + pyproject.toml + uv.lock).

Test plan

  • uv run pytest tests/test_chart_select.py tests/test_chart_puck.py (16 passed)
  • Helper is silent outside marimo and emits exactly one hint per widget when marimo.running_in_notebook() is True
  • uv run demos/{matrix,moduletree,chartselect}.py all run clean
  • make docs builds docs successfully

🤖 Generated with Claude Code

Vincent D. Warmerdam and others added 3 commits May 1, 2026 12:40
…4.1)

When running inside a marimo notebook, each of these widgets now appends
a small amber hint to the cell pointing at the marimo built-in
equivalent (`marimo.ui.matrix`, `marimo.ui.matplotlib`, and the
auto-registered PyTorch formatter respectively). Outside marimo (plain
Jupyter and other anywidget hosts), behavior is unchanged. Also fixes
`make docs` to use `uv run mkdocs build` so it works from a fresh
`make install` venv.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
`playwright` no longer exposes `__version__` as a module attribute, so
the cache-key step was crashing and falling back to an empty version.
That made the cache key `playwright--chromium`, which silently hit a
stale cache from an old playwright release; the install-browsers step
was then skipped, and tests failed with "Executable doesn't exist at
chromium_headless_shell-1217/chrome-headless-shell".

Switch to `importlib.metadata.version("playwright")`, which is the
canonical version-discovery API and is independent of any package's
internal exports.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
`make docs` is a contributor-side target; PyPI users of wigglystuff
don't run it, so the entry doesn't belong in their changelog.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@koaning koaning merged commit 7a8957a into main May 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant